package com.boot.service;

import com.boot.entity.Address;
import com.boot.mapper.AddressMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AddressService {
    @Autowired
    AddressMapper addressMapper;

    public Address getById(Long id){
        return addressMapper.getById(id);
    }
}
